﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VISS.API.Commons {
    public interface IReligion {

        /// <summary>
        /// Insert new ReligionEnt
        /// </summary>
        /// <param name="item">ReligionEnt</param>
        /// <returns>return true if success, otherwise return false</returns>
        bool Insert(ReligionEnt item);
        /// <summary>
        /// Update ReligionEnt
        /// </summary>
        /// <param name="item">ReligionEnt</param>
        /// <returns>return true if success, otherwise return false</returns>
        bool Update(ReligionEnt item);
        /// <summary>
        /// Delete a ReligionEnt
        /// </summary>
        /// <param name="iD">ID of ReligionEnt need to be deleted</param>
        /// <returns>return true if success, otherwise return false</returns>
        bool Delete(short iD);

        /// <summary>
        /// Get all ReligionEnt
        /// </summary>
        /// <returns>return a list of ReligionEnt (empty list if no ReligionEnt exists)</returns>
        List<ReligionEnt> GetAll();
    }
}
